<template>
    <router-link to="/">
    <div class="header">城市选择
        <div class="iconfont back-icon">&#xe624;</div>
    </div>
    </router-link>
</template>

<script>
    export default {
        name: "CityHeader"
    }
</script>

<style lang="stylus" scoped>
    @import "~styles/varibles.styl"
.header
    position relative
    overflow hidden
    height $headerHeight
    line-height $headerHeight
    font-size .32rem
    background $bgColor
    text-align center
    color #fff
    .back-icon
        position absolute
        top 0
        left 0
        color #fff
        text-align center
        font-size .4rem
        width .64rem
</style>